package com.joplus.housekeeper.bean;

import java.util.List;

/**
 * Created by zisheng on 2018/7/4.
 */

public class ImSearchBean {


    /**
     * code : 2000
     * data : {"messageAccountWithBLOBsList":[{"accountId":"4a4a76bd3eec4f678f833dea89b44a7f","avatar":"","clientType":0,"createDatetime":1530633600000,"imId":"4a4a76bd3eec4f678f833dea89b44a7f","lastMessageContent":"","lastMessageType":9,"messageDatetime":1530605472852,"mobile":"18818235961","name":"多好都好好的","sid":"ebaeb33aa3d349429ebc4c1b173dab39","updateDatetime":1530633600000}],"messageRecordWithBLOBsList":[{"accountId":"c44f73a77a5845929eecfc5f9a82c7b3","clientType":0,"content":"5aW95oOz5aW95oOz5aW95oOz5aW95aW955qE","createDatetime":1529683200000,"decryptContent":"好想好想好想好好的","duration":0,"messageDatetime":1529576943256,"messageFrom":"acc1490679334846dk0u","messageId":"0c98c4c0426640078c8387d98e4332f8","messageTo":"customer-service3","sid":"fe9a0ebbdc5c40479966cb9a3c853bc0","state":"unread","type":1},{"accountId":"f22e846c148e418b9d3c738e8442414a","clientType":0,"content":"5aW95aW96L+H","createDatetime":1529683200000,"decryptContent":"好好过","messageDatetime":1529580750001,"messageFrom":"f22e846c148e418b9d3c738e8442414a","messageId":"10e7eeaca8d7435e9e88cc2382920cfd","messageTo":"customer-service2","sid":"074f9646ba8041089c062df69b7e1b44","state":"unread","type":1},{"accountId":"0bffea29263c464fb2741e5d99f14f33","clientType":0,"content":"5L2g5aW95aW9","createDatetime":1530201601000,"decryptContent":"你好好","messageDatetime":1530085916833,"messageFrom":"0bffea29263c464fb2741e5d99f14f33","messageId":"498498682e454ad9949201ffd5cee749","messageTo":"customer-service1","sid":"8b359d926fee4c3999cb0041d71ad89e","state":"unread","type":1},{"accountId":"f22e846c148e418b9d3c738e8442414a","clientType":0,"content":"5aW95aW95Zue6aG+","createDatetime":1529683200000,"decryptContent":"好好回顾","messageDatetime":1529580751994,"messageFrom":"f22e846c148e418b9d3c738e8442414a","messageId":"b6db00bd8fdd4dc19c32c7030dd85fe8","messageTo":"customer-service2","sid":"f032c7e6cbdf43bea20c134cf1ff13a5","state":"unread","type":1},{"accountId":"c44f73a77a5845929eecfc5f9a82c7b3","clientType":0,"content":"6ZmI5aW95Zyw5pa55aW95aW95Y+R5oyl5aW955qE5aW955qE","createDatetime":1529683200000,"decryptContent":"陈好地方好好发挥好的好的","duration":0,"messageDatetime":1529576940130,"messageFrom":"acc1490679334846dk0u","messageId":"bebb8846ffd64a9794a57b2b9be01cc0","messageTo":"customer-service3","sid":"f3e9dec15c9b42b1951ccc6808f0172a","state":"unread","type":1}]}
     * message : 获取成功
     */

    private String code;
    private DataBean data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        private List<MessageAccountListBean> messageAccountWithBLOBsList;
        private List<MessageRecordWithBLOBsListBean> messageRecordWithBLOBsList;

        public List<MessageAccountListBean> getMessageAccountWithBLOBsList() {
            return messageAccountWithBLOBsList;
        }

        public void setMessageAccountWithBLOBsList(List<MessageAccountListBean> messageAccountWithBLOBsList) {
            this.messageAccountWithBLOBsList = messageAccountWithBLOBsList;
        }

        public List<MessageRecordWithBLOBsListBean> getMessageRecordWithBLOBsList() {
            return messageRecordWithBLOBsList;
        }

        public void setMessageRecordWithBLOBsList(List<MessageRecordWithBLOBsListBean> messageRecordWithBLOBsList) {
            this.messageRecordWithBLOBsList = messageRecordWithBLOBsList;
        }

        public static class MessageAccountWithBLOBsListBean {
            /**
             * accountId : 4a4a76bd3eec4f678f833dea89b44a7f
             * avatar :
             * clientType : 0
             * createDatetime : 1530633600000
             * imId : 4a4a76bd3eec4f678f833dea89b44a7f
             * lastMessageContent :
             * lastMessageType : 9
             * messageDatetime : 1530605472852
             * mobile : 18818235961
             * name : 多好都好好的
             * sid : ebaeb33aa3d349429ebc4c1b173dab39
             * updateDatetime : 1530633600000
             */

            private String accountId;
            private String avatar;
            private int clientType;
            private long createDatetime;
            private String imId;
            private String lastMessageContent;
            private int lastMessageType;
            private long messageDatetime;
            private String mobile;
            private String name;
            private String sid;
            private long updateDatetime;

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public int getClientType() {
                return clientType;
            }

            public void setClientType(int clientType) {
                this.clientType = clientType;
            }

            public long getCreateDatetime() {
                return createDatetime;
            }

            public void setCreateDatetime(long createDatetime) {
                this.createDatetime = createDatetime;
            }

            public String getImId() {
                return imId;
            }

            public void setImId(String imId) {
                this.imId = imId;
            }

            public String getLastMessageContent() {
                return lastMessageContent;
            }

            public void setLastMessageContent(String lastMessageContent) {
                this.lastMessageContent = lastMessageContent;
            }

            public int getLastMessageType() {
                return lastMessageType;
            }

            public void setLastMessageType(int lastMessageType) {
                this.lastMessageType = lastMessageType;
            }

            public long getMessageDatetime() {
                return messageDatetime;
            }

            public void setMessageDatetime(long messageDatetime) {
                this.messageDatetime = messageDatetime;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getSid() {
                return sid;
            }

            public void setSid(String sid) {
                this.sid = sid;
            }

            public long getUpdateDatetime() {
                return updateDatetime;
            }

            public void setUpdateDatetime(long updateDatetime) {
                this.updateDatetime = updateDatetime;
            }
        }

        public static class MessageRecordWithBLOBsListBean {
            /**
             * accountId : c44f73a77a5845929eecfc5f9a82c7b3
             * clientType : 0
             * content : 5aW95oOz5aW95oOz5aW95oOz5aW95aW955qE
             * createDatetime : 1529683200000
             * decryptContent : 好想好想好想好好的
             * duration : 0
             * messageDatetime : 1529576943256
             * messageFrom : acc1490679334846dk0u
             * messageId : 0c98c4c0426640078c8387d98e4332f8
             * messageTo : customer-service3
             * sid : fe9a0ebbdc5c40479966cb9a3c853bc0
             * state : unread
             * type : 1
             */

            private String accountId;
            private int clientType;
            private String content;
            private long createDatetime;
            private String decryptContent;
            private int duration;
            private long messageDatetime;
            private String messageFrom;
            private String messageId;
            private String messageTo;
            private String sid;
            private String state;
            private int type;

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public int getClientType() {
                return clientType;
            }

            public void setClientType(int clientType) {
                this.clientType = clientType;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public long getCreateDatetime() {
                return createDatetime;
            }

            public void setCreateDatetime(long createDatetime) {
                this.createDatetime = createDatetime;
            }

            public String getDecryptContent() {
                return decryptContent;
            }

            public void setDecryptContent(String decryptContent) {
                this.decryptContent = decryptContent;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public long getMessageDatetime() {
                return messageDatetime;
            }

            public void setMessageDatetime(long messageDatetime) {
                this.messageDatetime = messageDatetime;
            }

            public String getMessageFrom() {
                return messageFrom;
            }

            public void setMessageFrom(String messageFrom) {
                this.messageFrom = messageFrom;
            }

            public String getMessageId() {
                return messageId;
            }

            public void setMessageId(String messageId) {
                this.messageId = messageId;
            }

            public String getMessageTo() {
                return messageTo;
            }

            public void setMessageTo(String messageTo) {
                this.messageTo = messageTo;
            }

            public String getSid() {
                return sid;
            }

            public void setSid(String sid) {
                this.sid = sid;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
